Repository navigation
Conversation
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
test/commonhelpers that newer upstream tests call:hasFIPS()/isBoringSSLincrypto.js, plushasInspector,hasSQLite,skipIfSQLiteMissing,expectRequireStack,expectRequiredTLAError,sleepSync,isRiscv64,usesSharedLibrary,hasFFI/skipIfFFIMissing,hasPerfetto/skipIfPerfettoEnabled/Disabled,hasDtls,hasLocalStorage,hasTemporal,hasFullICUandhasV8Sandbox.index.mjsexports the subset of these that upstream 26.13.1index.mjsexports (hasInspector,hasSQLite,hasFFI,hasDtls,hasLocalStorage,hasTemporal,hasV8Sandbox,isRiscv64,skipIfSQLiteMissing,skipIfPerfettoEnabled,sleepSync); not every new CommonJS helper is exported from ESMcommon.skip()counts as a pass, so each capability flag reports what the component actually provides.hasSQLiteprobesnode:sqliteinstead of readingprocess.versions.sqlite, which the runtime does not set; a guard therefore cannot skip a test whose module existsvendor.shalso vendorstest/sqlite/, andsetup_node_compat_test_filescopies it, forrequire('../sqlite/next-db.js')Node compatibility
The full 22.14.0 lane and the 247-case 26.13.1 probe below ran on b011485's tree before its last edit, which made the
hasSQLiteprobe tryDatabasebeforeDatabaseSync. On the final tree, only the focused checks listed at the end ran; the broad lanes were not rerun.node_compatlane gives 3260 passed, 0 failed, 3651 ignored, matching the basereport.mdprimary count of 3260report.mdare unchangedProbe against the 26.13.1 suite (scratch config from NJ-01, not part of this PR): 77 runnable files use the new helpers or
test/sqlite. The probe run is red locally (exit 101; 137 failures). Of its 247 runnable suite cases, plus the 2 value probes, which pass:test/sqliteis copied (test-sqlite.jstest_03)node:sqlite's Node 26DatabaserenameLocal checks on the final tree: fmt,
clippy --all-targets -Dwarnings,node_compat_report(35 passed, 1 ignored),node --checkon the shim files, a host Node check of thehasSQLiteguard with and without--no-experimental-sqlite, and a 26.13.1 component run of the two value probes plustest-sqlite.jstest_03 (3 passed).